package com.mrjy.video.bo;

import com.mrjy.common.entity.CustomModule;
import com.mrjy.common.entity.VideoInfo;

import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

public interface IVideoInfoBo extends IVideoBo {
	
	public Object queryUrlByVideoId(Integer videoId, Integer userId);
	
	public Object queryVideoList(Object object);

	public Object queryVideoPage(Object object);
	
	public Object queryVideoListByFlag(VideoInfo videoInfo);
	public Object queryVideoPageByFlag(VideoInfo videoInfo);

	public Object queryVideoPageDesc(VideoInfo videoInfo);

	public Object queryVideoPageByLableName(VideoInfo videoInfo);

    Object queryVideoInfoById(VideoInfo videoInfo, HttpSession session);

    /**
     * 通过老师id分页查询视频列表
	 * @param teacherId
	 * @param page
	 * @param row
	 * @return
	 */
    Object getVideoListByTeacherId(VideoInfo info, HttpSession session);

    public Object getPageVideoByVideoName(VideoInfo info);

	public Object queryVideoCountByLableName(VideoInfo info);
	/**
	 * 根据id 更新播放次数
	 * @param vid
	 * @return
	 */
	public Object txAddPlayTimes(Integer vid);

	public Object queryPageByPlayTimes(VideoInfo info);

	public Object queryPageByFree(VideoInfo info);

	public Object selectPageForBackCoursePackage(VideoInfo info);
	
	/**查询视频列表 for admin
	 * @param session */
	public Object queryPageVideo(VideoInfo info, HttpSession session);

	public Object exportExl(VideoInfo info, HttpServletResponse response, HttpSession session) ;

	public Object txAddClickCount(Integer vid);

	public Object updateFinishStatus(VideoInfo info);

    Object queryVideoMsgByVids(VideoInfo info);

    Object queryListForYourFavor(VideoInfo info);

    Object queryListForMultiVideoType(CustomModule customModule);

    //分页查询最新,最热课程 根据老师
    Object queryVideoPageDescByUserId(VideoInfo videoInfo, HttpSession session);
}
